using UnityEngine;
using System.Collections;

public class sdMovieVideo : sdMovieBase
{
    void Start()
    {
    }

    void OnGUI()
    {
    }

    protected override void Update()
    {
    }

    /// <summary>
    /// 该接口只适用于移动平台 视频文件要放在StreamingAssets文件夹的一级子目录里
    /// </summary>
    /// <returns><c>true</c>, if movie was played, <c>false</c> otherwise.</returns>
    /// <param name="strFileName">String file name.</param>
    public bool PlayMovie(string strFileName)
    {   
        return Handheld.PlayFullScreenMovie(strFileName, Color.black, FullScreenMovieControlMode.CancelOnInput);
    }
}
